#include<vector>
using namespace std;
class Solution {
public:
    vector<vector<int>> findContinuousSequence(int target) {
        vector<vector<int>> res;

        int left=1;
        int right=2;
        while (left<right)
        {
            int sum = (right-left+1)*(right+left)/2;
            if (sum==target)
            {
                vector<int> tmp;
                for (int i = 0; i < right-left+1; i++)
                {
                    tmp.push_back(i+left);
                }
                res.push_back(tmp);
                left++;
                
            }else if (sum<target){
                right++;
            }else{
                left++;
            }
        }
        return res;
    }
};